﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NFinal.Advanced;

namespace WebApplication1.DDD.Web.Default.login
{
    public class showAction  : Controller
	{
		public showAction(System.IO.TextWriter tw):base(tw){}
		public showAction(string fileName) : base(fileName) {}
		#if (!AspNET && !MicrosoftOwin && !NFinalOwin)
		public showAction(HttpContext context):base(context){}
		public showAction(Microsoft.Owin.IOwinContext context):base(context){}
		public showAction(NFinal.Owin.HtmlWriter writer,NFinal.Owin.Request request):base(writer,request){}
		#endif
		#if AspNET
		public showAction(HttpContext context):base(context){}
		#endif
		#if MicrosoftOwin
		public showAction(Microsoft.Owin.IOwinContext context):base(context){}
		#endif
		#if NFinalOwin
		public showAction(NFinal.Owin.HtmlWriter writer,NFinal.Owin.Request request):base(writer,request){}
		#endif
		public showAction(Controller controller):base(controller){}
        public void show()
        {
            
			Write("<!DOCTYPE html><html xmlns=\"http://www.w3.org/1999/xhtml\"><head runat=\"server\"><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/><title></title><script src=\"/Scripts/jquery-1.11.2.min.js\"></script><script src=\"/Scripts/Url.js\"></script></head><body><form id=\"form1\" runat=\"server\" method=\"post\" action=\"");
			Write(Url.DDD_login_log());
			Write("\"><div><input name=\"name\" type=\"text\" value=\"123\" /><br /><input name=\"pwd\" type=\"password\" value=\"123\" /><br /><input type=\"submit\" value=\"login\" /><br /></div></form></body></html>");
        }
        
        
    }
}